/**
 * 控制台数据统计控制器
 */
import tem from './index.html'
import './index.less'
import $_fn from '~plugins'
class indexDataCtrl {
  constructor($scope,$ui) {
  	$scope.param1={}
  	 $scope.xinXi=function(data){
  	 	console.log(data.data.consoleTotal);
  	 	$scope.param2=data.data.consoleTotal
  	 	$scope.$apply()
  	 }
	$scope.kongZhiTai($scope.xinXi)	
  }
}


indexDataCtrl.$inject = ['$scope','$rootScope','$timeout','$location','$interval','$ui']
module.exports = angular.module('directive.indexData', []).directive('indexData', function() {
    return {
        restrict: 'E',
        template: tem,
        replace:true,
        controller: indexDataCtrl
    }
}).name